<script src="<?php print $url?>js/jquery.ui.datepicker.js"></script>
<script src="<?php print $url?>js/jquery.price_format.1.8.min.js"></script>
<div id="main-content">
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
        <div class="widget-block">
          <div class="widget-head">
            <h5><?php print $title?></h5>
          </div>
          <div class="widget-content">
            <div class="widget-box">
              <?php print $this->form_eksternal->form_open_multipart("", 'class="form-horizontal well"', 
                      array("id_detail" => $detail[0]->id_keuangan_mahasiswa_tanggungan, "nim" => $nim))?>
                <fieldset>
                  <div class="control-group">
                    <label class="control-label" for="input01">No Ref</label>
                    <div class="controls">
                      <?php print $this->form_eksternal->form_input('notransaksi', $detail[0]->notransaksi, 'class="input-xlarge" id="input01" ')?>
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label" for="input01">Tanggal</label>
                    <div class="controls">
                      <?php print $this->form_eksternal->form_date("tanggal", $detail[0]->tanggal, "tanggal")?>
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label" for="input01">Saldo</label>
                    <div class="controls">
                      <?php print $this->form_eksternal->form_input_price("saldo", 'saldo', $detail[0]->saldo)?>
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label" for="input01">Semester Tahun Ajaran</label>
                    <div class="controls">
                      <?php print $this->form_eksternal->form_dropdown("tahunsemster", $sta_dropdown, array())?>
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label" for="input01">Account</label>
                    <div class="controls">
                      <?php print $this->form_eksternal->form_autocomplate("pendapatan", "id_frm_account", "pendapatan", "id_frm_account",
                            site_url("frm/accounting/auto_account"), "", "")?>
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label" for="input01">Note</label>
                    <div class="controls">
                      <?php print $this->form_eksternal->form_textarea('note', $detail[0]->note, 'class="input-xlarge" id="input01"')?>
                    </div>
                  </div>
                  <div class="form-actions">
                    <button type="submit" class="btn btn-info">Save changes</button>
                    <button class="btn" onclick="history.go(-1);return false;"><?php print lang("cancel")?></button>
                  </div>
                </fieldset>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>